home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
time
/
backclock.lha
/
BackClock
/
sources
/
control.c
< prev
next >
Wrap
Text File
|
1998-12-20
|
311b
|
12 lines
void waitSynchro()
printf("Attente synchro\n") ;
ITRead(&sync, sizeof(struct trameSync)) ;
printf("Synchro\t\t:$%lx\n", sync.sync) ;
printf("TailleComm\t:$%lx\n", sync.tailleTCom) ;
sendACK() ;
}
void sendACK() {
printf("Envoi ACK\n") ;
ack.ack=0x41434b24;
ITWrite(&ack, sizeof(struct TAck)) ;
}